/**
 * <p>
 *
 * @Author：Roy
 * @Description：设备管理
 * @Date：Create by 2023-11-30 18:51:39
 */
const cardConfig = {
  'device': {
    cardType: 'TableCard',
    cardData: {},
    isShowTabs: true,
    cunrrenTabIndex: 'device',
    dataType: 'table',
    moduleBtnList: [
      {
        label: '新增',
        icon: 'el-icon-plus',
        type: 'primary',
        id: 'device-add',
        authId: 'ecp-admin:device:add'
      },
      {
        label: '导入',
        type: 'primary',
        icon: 'el-icon-upload2',
        id: 'device-import',
        authId: 'ecp-admin:device:upload'
      },
      // {
      //   label: '导出',
      //   icon: 'el-icon-download',
      //   id: 'device-download',
      //   authId: 'ecp-admin:device:export',
      //   downType: 'downloadFile',
      //   downPath: '/energy-carbon/ecp-admin/device/export'
      // },
      {
        label: '批量删除',
        type: 'danger',
        plain: true,
        icon: 'el-icon-delete',
        id: 'device-deleteBatch',
        authId: 'ecp-admin:device:batchDelete'
      }
    ],
    mainClass: 'main-padding20',
    isMultiple: true,
    paginationParams: { page: 1, limit: 10 },
    path: 'device.queryList',
    id: 'ecp-admin-device'
  }
}

export default {}
export { cardConfig }
